package adapter;

import product.Zh0202ProductionInfo;
import shopcar.Zh0202ShopCart;

/**
 * @author: zh
 * @date: 2021/12/2 16:23
 * @version: 1.0
 */
public class Adapter extends Zh0202ProductionInfo implements Zh0202ShopCart {
    @Override
    public void add() {
        System.out.print("向购物车内");
        super.padd();
    }

    @Override
    public void delete() {
        System.out.print("从购物车内");
        super.pdelete();
    }

    @Override
    public void change() {
        System.out.print("在购物车里");
        super.pchange();
    }

    @Override
    public void order() {
        System.out.print("在购物车里");
        super.porder();
        super.precommend();
    }
}
